Skip to content

Fix D3D11 visual tests and make them blocking in CI - #3861

Merged
paroj merged 8 commits into
OGRECave:masterfrom
alonfaraj:fix-d3d11-visual-tests
Nov 28, 2026
Merged

paroj merged 8 commits into
OGRECave:masterfrom
alonfaraj:fix-d3d11-visual-tests

Conversation

@alonfaraj

Copy link
Copy Markdown
Contributor

D3D11 visual tests on Windows CI stopped at the first failure, so the step was set to non-blocking. This fixes each failing test and makes the step blocking again.

  • PlayPen_BillboardAccurateFacing, PlayPen_BillboardOrigins: billboards used lit materials but have no normals. GL ignores this, but D3D11 throws. They now use unlit materials.
  • PlayPen_ProjectSphere: the scissor rect had the same problem, plus missing texture coordinates. It's now unlit and coloured per vertex.
  • PlayPen_StencilShadowsMixedOpSubMeshes: same problem with the manual object. It now uses BaseWhiteNoLighting.
  • PlayPen_HardwareScaleBlit: D3D11 blitFromMemory threw when the source and destination sizes differed. It now scales the image on the CPU first, like GL does.
  • PlayPen_SpotlightViewProj, PlayPen_TextureShadowsCustomCasterMat, PlayPen_TextureShadowsCustomReceiverMat: these need Cg, which isn't loaded on Windows. They're now only added when Cg is available.

@alonfaraj
alonfaraj requested a review from paroj November 28, 2026 16:51
@paroj
paroj merged commit c86e149 into OGRECave:master Nov 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants